/**
 * index
 */
define(function(require) {
    var $ = require('jquery');
    var com = require('./common');


    com.layoutSet();

     //数字处理
    com.digital_num('digital_num');

    //人口月度曲线图
    axios.get(com.api.month_people).then(function(response){
        com.chart4("chart1",response.data.name,response.data.num,'line','人数');
    });

    //街乡人口月度双柱图
    axios.get(com.api.place_people).then(function(response){
        com.chart7("chart2",response.data.name,response.data.num,['#ffb933', '#1864ff', '#db70cf', '#34d198', '#ff6333']);
    });

    //街巷流动人口月度
    axios.get(com.api.ldrk_mouth).then(function(response){
        com.chart7("chart3",response.data.name,response.data.num,['#0aabff']);
    });


    com.loading_finished();

});